
body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
  }


.intro-section {
  background-color: #a50044;
  color: #fff;
  padding: 40px 20px;
  border-radius: 0 0 60px 60px;
  text-align: center;
}
.intro-section h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 0px;
  font-family: 'El Messiri', sans-serif;
  transition: color 0.4s ease;
  }

  .intro-section h2:hover{
    color: #ff4081;
  }
.reports-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 30px auto 10px;
  padding: 0 20px;
}

.report-btn {
  border: 1px solid #7f052023;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #1f2c4c;
  background-color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  min-width: fit-content;
}

.report-btn:hover {
  background-color: #a50044;
  color: white;
  transform: scale(1.04);
}

.report-btn.active {
  background-color: #a50044;
  color: white;
}

.pdf-main-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 50px;
  margin-top: 15px;
  align-items: center;
}

.pdf-box {
  /* width: calc(50% - 25px);  */
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}


.pdf-icon {
  width: 250px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  border: 2px solid #a500450f;
  border-radius: 20px;
}

/* لما تنضغط صورة وتتفعل */
.pdf-box.active {
  flex: 1 1 100%;
  max-width: 100%;
  text-align: center;
  /* border: 1px solid #a500440f;
  border-radius: 20px;
  padding: 20px; */
}

.pdf-box.active .pdf-icon {
  width: 300px;
  margin: auto;
  display: block;
}

.thumbnails {
  display: none;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.pdf-box.active .thumbnails {
  display: flex;
  gap: 50px;
}

.thumbnails a img {
  width: 250px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: 0.3s ease;
  border: 1px solid #a500451d;
  border-radius: 20px;
}

.pdf-item:hover {
  transform: scale(1.05);
}

.pdf-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1f2c4c;
  gap: 6px;
  transition: transform 0.3s ease;
}


.pdf-title {
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    max-width: 140px;
    line-height: 1.4;
    margin-top: -57px;
    color: #fcefef;
    font-family: 'LXGW Marker Gothic', sans-serif;
}

.pdf-icon-wrapper {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: inline-block;
}

.pdf-main-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-top: -50px;
  font-family: 'El Messiri', sans-serif;
  transition: color 0.3s ease;
}


.pdf-icon-wrapper:hover {
  transform: scale(1.05);
}



@media (max-width: 768px) {

  /* تصغير الخط العام */
  body {
    font-size: 14px !important;
  }

  /* ===== النافبار ===== */
  header {
    height: auto !important;
    padding: 10px 20px !important;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative !important;
    z-index: 1000;
  }

  header > div {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
  }

  /* الشعار */
  header img {
    height: 40px !important;
    margin: 0 auto !important;
  }

  /* القوائم */
  nav ul {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
  }

  nav ul li {
    width: 100% !important;
    text-align: center !important;
  }

  nav ul li a {
    font-size: 13px !important;
    padding: 8px 0 !important;
    display: block;
    width: 100%;
  }

  /* أيقونة البحث */
  nav ul li a .search-icon {
    font-size: 18px !important;
  }

  /* زر العضوية */
  .membership-btn {
    min-width: 100% !important;
    font-size: 14px !important;
    height: 35px !important;
    border-radius: 20px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* ===== الأقسام الأساسية ===== */
  .intro-section,
  .info-box,
  .vision-message-goals,
  .values-section,
  .structure-section,
  .awards-box,
  .networks-box {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    margin: 20px auto !important;
    border-radius: 20px !important;
  }

  /* خلفية زهري للأقسام مع بادينج */
  .intro-section,
  .info-box,
  .values-section,
  .structure-section,
  .awards-box,
  .networks-box {
    background-color: #F7E8EB !important;
  }

  /* intro-section بخلفية عنابي */
  .intro-section {
    background-color: #a50044 !important;
    color: #fff !important;
  }

  /* تصغير الصور داخل info-box */
  .info-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 15px !important;
  }

  /* تنظيم النص داخل info-box */
  .info-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* تصغير حجم العناوين */
  h2, h3 {
    font-size: 20px !important;
  }

  /* تصغير حجم الفقرات */
  p, li {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* ===== الفوتر ===== */
  footer ul {
    padding-right: 20px !important;
  }

  footer ul li {
    text-align: right !important;
    padding-right: 10px !important;
    margin-bottom: 8px !important;
  }

  footer div[style*="flex: 1"] {
    width: 100% !important;
    margin-bottom: 30px !important;
    text-align: center !important;
  }

  footer > div {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
  }

  /* ===== الصفحات الفرعية ===== */
  /* حاويات الصفحات الفرعية */
  .page-content, .subpage-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }

  /* العناوين */
  .page-content h1,
  .page-content h2,
  .page-content h3,
  .subpage-container h1,
  .subpage-container h2,
  .subpage-container h3 {
    font-size: 20px !important;
    text-align: center !important;
    margin-bottom: 15px !important;
  }

  /* الفقرات والقوائم */
  .page-content p,
  .page-content li,
  .subpage-container p,
  .subpage-container li {
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: justify !important;
  }

  /* الصور الكبيرة */
  .main-image,
  .subpage-image,
  .content-image {
    width: 90% !important;
    max-width: 350px !important;
    height: auto !important;
    display: block !important;
    margin: 15px auto !important;
    border-radius: 15px !important;
  }

  /* أزرار التنزيل أو التفاعل */
  .download-btn,
  .action-btn {
    width: 100% !important;
    max-width: 300px !important;
    margin: 15px auto !important;
    font-size: 16px !important;
    padding: 12px 0 !important;
    border-radius: 20px !important;
    cursor: pointer;
  }

  /* تعديل النص الجانبي */
  .text-side {
    width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

}

